package bean.util;

import java.io.Serializable;

import javax.annotation.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean
@SessionScoped
public class Authorization implements Serializable {
	private static final long serialVersionUID = -3882248490102758925L;
	
	private boolean logged = false;
	
	public boolean isLoggedIn(){
		if (logged)
			return true;
		return false;
	}

	public boolean isLogged() {
		return logged;
	}

	public void setLogged(boolean logged) {
		this.logged = logged;
	}
	
	
	

}
